/**
 * 
 */
package aiproject3.models;

/**
 * @author Chris
 *
 */
public interface KnowledgeBase<U, E> {
	
	/**
	 * Adds a language unit to the model
	 * @param unit The language unit to add to the model
	 */
	public void addToModel(U unit);
	
	/**
	 * Gets a value associated with a language unit in the model
	 * @param unit The language unit to search for in the model
	 * @return The value associated with the specified unit
	 */
	public E getValueFromModel(U unit);
	
	public boolean contains(U unit);
	
	/**
	 * Gets the number of units that exists in the knowledge base
	 * @return
	 */
	public int getNumUnits();
	
}
